<?php
$this->breadcrumbs=array(
	'Page Widgets'=>array('index'),
);
if ($model->id)
    $this->breadcrumbs = CMap::mergeArray($this->breadcrumbs, array($model->id=>array('update','id'=>$model->id),'Update'));
else
    $this->breadcrumbs[] = 'Create';

$this->menu=array(
);
?>

<h2>Add Widget to page <?php echo $model->id; ?></h2>

<?php
$this->renderPartial('_form', array(
    'model' => $model, 
    'dataProvider'=>$dataProvider,
    'types'=>$types,
    'widgets'=>$widgets,
));
?>